package com.gdhz.xiaohengqin.reservation.exception;

/**
 *
 * @author Swallows
 * @date 2025-09-05 11:54
 */
public class TeleOneException extends RuntimeException {

    private final int statusCode;
    private final String responseBody;

    public TeleOneException(int statusCode, String responseBody) {
        super("智慧规建 error, status=" + statusCode);
        this.statusCode = statusCode;
        this.responseBody = responseBody;
    }

    public int getStatusCode() {
        return statusCode;
    }

    public String getResponseBody() {
        return responseBody;
    }
}
